package com.gjh.study.mybatis.mapper;

import com.gjh.study.mybatis.domain.Student;
import org.apache.ibatis.annotations.Select;

/**
 * @author guangjh
 * @version 1.0
 * @date 2020/7/10 21:44
 */
public interface StudentMapper {
    @Select("select id, name, address from student where id=#{id}")
    public Student getStudent(Long id);
}
